<form id="projectForm" class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">项目名</label>
        <div class="layui-input-block">
            <input type="text" name="name" value="" required
                   lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">git地址</label>
        <div class="layui-input-block">
            <input type="text" name="remotePath" value="" required
                   lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分支名称</label>
        <div class="layui-input-block">
            <input type="text" name="branchName" value="" required
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否展示</label>
        <div class="layui-input-block">
            <input type="checkbox" name="isShow" lay-skin="switch" checked="checked">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">展示顺序</label>
        <div class="layui-input-block">
            <input type="number" name="displayOrder" value="1" required
                   lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="projectFormBtn">保存</button>
        </div>
    </div>
</form>
